package com.test.pattern.builder.demo2;

/**
 * @ClassName: Client
 * @description:
 * @author: Mr du
 * @create: 2024-02-17 21:26
 */
public class Client {

    public static void main(String[] args) {
        Phone build = new Phone.Builder()
                .cpu("麒麟")
                .memory("金士顿")
                .mainboard("华硕")
                .screen("京东方")
                .build();
        System.out.println(build);
    }
}
